projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dffd244
)
MPC8572DS: Fix compile warnings
author
Kumar Gala
<
[email protected]
>
Wed, 8 Oct 2008 20:36:39 +0000
(15:36 -0500)
committer
Andrew Fleming-AFLEMING
<
[email protected]
>
Wed, 8 Oct 2008 20:43:28 +0000
(15:43 -0500)
Commit
445a7b38308eb05b41de74165b20855db58c7ee5
introduced the following
compile warnings:
cmd_i2c.c:112: warning: missing braces around initializer
cmd_i2c.c:112: warning: (near initialization for 'i2c_no_probes[0]')
Signed-off-by: Kumar Gala <
[email protected]
>
include/configs/MPC8572DS.h
patch
|
blob
|
history
diff --git
a/include/configs/MPC8572DS.h
b/include/configs/MPC8572DS.h
index fbe7b6134a319f34f9ac72602ede935cd8d49ae8..4114a42de1f237a3b435b44ac94497e0a50f9956 100644
(file)
--- a/
include/configs/MPC8572DS.h
+++ b/
include/configs/MPC8572DS.h
@@
-299,7
+299,7
@@
extern unsigned long get_board_ddr_clk(unsigned long dummy);
#define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
#define CFG_I2C_EEPROM_ADDR 0x57
#define CFG_I2C_SLAVE 0x7F
-#define CFG_I2C_NOPROBES {
0,0x29}
/* Don't probe these addrs */
+#define CFG_I2C_NOPROBES {
{0,0x29}}
/* Don't probe these addrs */
#define CFG_I2C_OFFSET 0x3000
#define CFG_I2C2_OFFSET 0x3100